package com.kalle.workflow.service.impl;

import com.kalle.workflow.mapper.SequenceFlowMapper;
import com.kalle.workflow.query.SequenceFlowQuery;
import com.kalle.workflow.service.SequenceFlowService;
import org.apache.ibatis.session.SqlSession;

public class SequenceFlowServiceImpl implements SequenceFlowService {

    private final SequenceFlowMapper sequenceFlowMapper;

    public SequenceFlowServiceImpl(SqlSession sqlSession) {
        this.sequenceFlowMapper = sqlSession.getMapper(SequenceFlowMapper.class);
    }

    @Override
    public SequenceFlowQuery createQuery() {
        return new SequenceFlowQuery(sequenceFlowMapper);
    }

}
